package com.ykj.utils;

import com.ykj.entity.User;

/**
 * @author Y2014188432
 */
public class MyUtils {

    public static final ThreadLocal<String> userThreadLocal = new ThreadLocal<>();

    public static void add(String id){
        userThreadLocal.set(id);
        return;
    }

    public static String get(){
        return userThreadLocal.get();
    }

    public static void remove(){
        userThreadLocal.remove();
        return;
    }




}
